build: Set G_LOG_DOMAIN to OSTree
authorDan Nicholson <nicholson@endlessm.com>
Sat, 26 Mar 2016 15:28:20 +0000 (08:28 -0700)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Sat, 26 Mar 2016 18:22:59 +0000 (18:22 +0000)
This will allow ostree programs to filter log messages specifically for
OSTree instead of using the NULL domain for ostree debugging.

https://bugzilla.gnome.org/show_bug.cgi?id=764237

Closes: #225
Approved by: cgwalters

Makefile.am

index a485cc75cc0a4e2ffa9ba41268b639c0fa7d66eb..e25842d99b4d2df6dd257243762744b1c840ba21 100644 (file)
@@ -24,6 +24,7 @@ AM_CPPFLAGS += -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"' \
        -DLOCALEDIR=\"$(datadir)/locale\" -DSYSCONFDIR=\"$(sysconfdir)\" \
        -DSHORTENED_SYSCONFDIR=\"$(shortened_sysconfdir)\" \
        -DOSTREE_FEATURES='"$(OSTREE_FEATURES)"' \
+       -DG_LOG_DOMAIN=\"OSTree\" \
        -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 \
        -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_40 -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_48
 AM_CFLAGS += $(WARN_CFLAGS)